xen/arm: Handle translated addresses for hardware domains in GICv2
authorFrediano Ziglio <frediano.ziglio@huawei.com>
Fri, 27 Feb 2015 14:08:06 +0000 (14:08 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 2 Mar 2015 14:07:39 +0000 (14:07 +0000)
commit5009babad9bfac9c88706e366bed3f2fdf4ed3ca
tree09fca782948700a66d15d507beb8e54aa9a1edd7
parentc26f92b8fce3c9df17f7ef035b54d97cbe931c7a
xen/arm: Handle translated addresses for hardware domains in GICv2

Translated addresses (in d->arch.vgic.{c,d}base) are bus addresses
which are not always correct in the context of a subnode in the DTB
exposed to domain 0 since they would then be subject to retranslation.

Copy the original addresses from DT directly to get the original
untranslated reg property which will give same d->arch.vgic.{c,d}base
values once translated again by the guest.

Signed-off-by: Frediano Ziglio <frediano.ziglio@huawei.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
[ ijc -- attempt to clarify the commit message ]
xen/arch/arm/gic-v2.c